projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adf6b7f
)
(etags_getcwd): Cast result of popen.
author
Richard M. Stallman
<rms@gnu.org>
Wed, 18 May 1994 01:16:16 +0000
(
01:16
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 18 May 1994 01:16:16 +0000
(
01:16
+0000)
(popen): Declaration deleted.
lib-src/etags.c
patch
|
blob
|
history
diff --git
a/lib-src/etags.c
b/lib-src/etags.c
index 4374940c587571b24af6a54dfd3f12cda3aad383..6c480f4b719772f52fd79aaf1f8b9435e5011994 100644
(file)
--- a/
lib-src/etags.c
+++ b/
lib-src/etags.c
@@
-55,9
+55,6
@@
char pot_etags_version[] = "@(#) pot revision number is 10.32";
#include "getopt.h"
extern char *getenv ();
-#ifndef MSDOS
-extern FILE *popen ();
-#endif
/* Define CTAGS to make the program "ctags" compatible with the usual one.
Let it undefined to make the program "etags", which makes emacs-style
@@
-3155,7
+3152,7
@@
etags_getcwd ()
{
buf = xnew (bufsize, char);
- pipe = popen ("pwd 2>/dev/null", "r");
+ pipe =
(FILE *)
popen ("pwd 2>/dev/null", "r");
if (pipe == NULL)
{
perror ("pwd");